﻿using OxyPlot;

namespace Klear.Library.Services;

public class CustomPlotController: PlotController
{
    public CustomPlotController()
    {
        this.UnbindAll();
        this.BindKeyDown(OxyKey.Left, PlotCommands.PanRight);
        this.BindKeyDown(OxyKey.Right, PlotCommands.PanLeft);
        this.BindTouchDown(PlotCommands.PanZoomByTouch);
    }
}